﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: IncludeFileEntity.cs
// 修改时间：2020-9-8 10:40:04
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：IncludeFile 的实体类.
	/// </summary>
	[Table("IncludeFile")]
	public partial class IncludeFileEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// ID(主键)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private System.String _name = string.Empty;
		/// <summary>
		/// 名称
		/// </summary>
		[Column("Name",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Name
		{
			get {return _name;}
			set {_name = value;}
		}
		
		private System.String _description = string.Empty;
		/// <summary>
		/// 说明
		/// </summary>
		[Column("Description",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Description
		{
			get {return _description;}
			set {_description = value;}
		}
		
		private int? _includeType = 0;
		/// <summary>
		/// 类型
		/// </summary>
		[Column("IncludeType",TypeName="int")]
		public int? IncludeType
		{
			get {return _includeType;}
			set {_includeType = value;}
		}
		
		private int? _associateType = 0;
		/// <summary>
		/// 关联生成类型，0-不关联，1-关联节点，2-关联专题
		/// </summary>
		[Column("AssociateType",TypeName="int")]
		public int? AssociateType
		{
			get {return _associateType;}
			set {_associateType = value;}
		}
		
		private System.String _fileName = string.Empty;
		/// <summary>
		/// 文件名
		/// </summary>
		[Column("FileName",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String FileName
		{
			get {return _fileName;}
			set {_fileName = value;}
		}
		
		private System.String _template = string.Empty;
		/// <summary>
		/// 模板
		/// </summary>
		[Column("Template",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Template
		{
			get {return _template;}
			set {_template = value;}
		}
		
		#endregion
	}
}
